package Meb;

public class CommonMember extends Member {
    public CommonMember(String name) {
        super(name);
    }

    @Override
    public void sendText(String to, String message) {
        System.out.println("普通会员发送信息：");
        chatRoom.sendText(getName(), to, message);
    }

    @Override
    public void sendImage(String to, String message) {
        System.out.println("普通会员不能发送图片");
    }
}
